package com.qingbo.wu.subject.application.convert;

import com.qingbo.wu.subject.application.dto.SubjectCategoryDTO;
import com.qingbo.wu.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Auther: qingbo.wu
 * @Date: 2024/5/29 18:03
 * @Description:
 */
@Mapper
public interface SubjectCategoryDTOConvert {

    SubjectCategoryDTOConvert INSTANCE = Mappers.getMapper(SubjectCategoryDTOConvert.class);


    SubjectCategoryBO convertTOSubjectCategoryBO(SubjectCategoryDTO subjectCategoryDTO);

    List<SubjectCategoryDTO> convertTOSubjectCategoryDTOList(List<SubjectCategoryBO> categoryBOList);
}
